Lua scene to decrease the Heat Controller setpoint when the window is opened. 


The Scene assumes that one or more physical Door/Window Sensors are installed on windows to detect when the window is opened.
The Scene set a new lower set point for Heat Controller and keeps it as long as a specific window is left open.

This Scene does not use the internal Heat Controller's functionality to discover when the window is opened. For that purpose, please use my other solution based on Quick App.
For more reference, please visit my portal and watch several DIY videos explaining all in detail at:

https://www.portal.ztechnikazapanbrat.pl/filmpagescollection/670


-----------------------------------------------------------------------------------------------------
Warning!
The Scene requires necessarily settings for defining which window sensors influences which Heat Controllers. You can define as many sensors and thermostats as you like, but please divide them into groups.
e.g. assuming that one room has window sensors ids: 11, 12, 13 and they influence to reduce heating on thermostats ids: 21, 22, 23 located in the same room, you have to make the following configuration:

local sensorsAndHeatControllers = {
    { sensorIDs = {11, 12, 13}, heatControllerIDs = {21, 22, 23} },
    { },
    { },
    { }
}
 
If you have another room, add a similar definition to other lines.
-----------------------------------------------------------------------------------------------------


For more reference, please visit my portal and watch several DIY videos explaining all in details on:

https://www.portal.ztechnikazapanbrat.pl/filmpagescollection/670
https://www.portal.ztechnikazapanbrat.pl/ 




==============================================
Designed by Lukasz Gawryjolek 2021
https://www.portal.ztechnikazapanbrat.pl/ 
==============================================

All Rights Reserved 2021
